package com.up4years.dataapi.entity.base;

import java.util.Date;

public class User extends BaseObject {

	private static final long serialVersionUID = -3049598072344306424L;
	private String name;
	private String phone;
	private String email;
	private String uname;
	private String icon;
	// 座右铭
	private String motto;
	// 密码
	private String passwd;
	// 支付密码
	private String pay_passwd;
	// 昵称
	private String nick_name;
	// 性别 '0:未知 1：男 2：女',
	private int sex;
	// 用户类型'0:学生 1：楼长 3：仓管 '
	private int userType;
	// 是否消费者0否，1是
	private int is_consumer;
	// 状态字段 0：初始化(禁用) 1：启用
	private int state;
 
	// 入学日期
	private Date enrolled_date;
	// 毕业日期
	private Date graduation_date;
	private boolean isSuper;
	
 
	public int getState() {
		return state;
	}
 
 

	public void setState(int state) {
		this.state = state;
	}

	public int getIs_consumer() {
		return is_consumer;
	}

	public void setIs_consumer(int is_consumer) {
		this.is_consumer = is_consumer;
	}

	public int getUserType() {
		return userType;
	}

	public void setUserType(int userType) {
		this.userType = userType;
	}

	public boolean isSuper() {
		return isSuper;
	}

	public void setSuper(boolean isSuper) {
		this.isSuper = isSuper;
	}

	private long user_exist;
	private long passwd_right;

	public long getUser_exist() {
		return user_exist;
	}

	public void setUser_exist(long user_exist) {
		this.user_exist = user_exist;
	}

	public long getPasswd_right() {
		return passwd_right;
	}

	public void setPasswd_right(long passwd_right) {
		this.passwd_right = passwd_right;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getUname() {
		return uname;
	}

	public void setUname(String uname) {
		this.uname = uname;
	}

	public String getPasswd() {
		return passwd;
	}

	public void setPasswd(String passwd) {
		this.passwd = passwd;
	}

	public String getPay_passwd() {
		return pay_passwd;
	}

	public void setPay_passwd(String pay_passwd) {
		this.pay_passwd = pay_passwd;
	}

	public String getNick_name() {
		return nick_name;
	}

	public void setNick_name(String nick_name) {
		this.nick_name = nick_name;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}


	public Date getEnrolled_date() {
		return enrolled_date;
	}

	public void setEnrolled_date(Date enrolled_date) {
		this.enrolled_date = enrolled_date;
	}

	public Date getGraduation_date() {
		return graduation_date;
	}

	public void setGraduation_date(Date graduation_date) {
		this.graduation_date = graduation_date;
	}

	public String getMotto() {
		return motto;
	}

	public void setMotto(String motto) {
		this.motto = motto;
	}
}
